package com.example.backweb.pojo.entity;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@ApiModel(description = "成绩信息实体")
public class Grades {
    @ApiModelProperty(value = "主键ID，自增", required = true)
    private Long id;

    @ApiModelProperty(value = "学生ID", required = true)
    private String studentId;

    @ApiModelProperty(value = "课程ID", required = true)
    private String courseId;

    @ApiModelProperty(value = "成绩", required = true)
    private int grade;

    @ApiModelProperty(value = "备注", required = true)
    private String remarks;
}